package com.fingard.avatar.website.model.dto;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author 徐一涛
 * @date 2022/4/26
 */
@Data
public class PageDto {

    @NotNull
    @Min(1)
    @Max(100)
    Integer pageSize;
    @NotNull
    @Min(1)
    Integer pageNum;
}
